<extend name='Yg/index' />
<block name='main'>

    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <h2 class="page-header">
                    <{$title}>
                </h2>
                <ol class="breadcrumb">
                    <li class="active">
                        <i class="fa fa-dashboard"></i> 您的位置 => <{$title}>
                    </li>
                </ol>
            </div>
        </div>

        <div class="mt20 center-block" >
            <a href="<{:U('Home/Yg/index')}>" class="btn btn-info" >首页</a>
            <a href="<{:U('add')}>" class="btn btn-success">添加</a>
        </div>
    </div>
    <div class="container" style="font-size:18px;">
        <table class="mt20 table table-hover" >
            <tr>
                <th>ID</th>
                <th>网址名字</th>
                <th>网址地址</th>
                <th>操作</th>
            </tr>
            <volist name="list" id="v">
            <tr>
                <td><{$v.id}></td>
                <td><{$v.fname}></td>              
                <td><{$v.fpath}></td>
                <td class="col-md-3">
                    
                    <a href="<{:U('edit',array('id'=>$v['id']))}>" class="btn btn-primary btn-sm">编辑</a>
                    <a href="<{:U('del',array('id'=>$v['id']))}>" class="btn btn-danger btn-sm">删除</a>
                </td>
            </tr>
            </volist>
        </table>
      
    </div><!-- END container -->


</block>

